Find Total Time Spent by Each Employee

05.04.2023

Write an SQL query to calculate the total time in minutes spent by each employee on each day at the office. Note that within one day, an employee can enter and leave more than once. The time spent in the office for a single entry is out_time - in_time.Return the result table in any order.

Blog_Description